﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CBMS.Objects
{
    public class StaffDTO
    {
        public int StaffId { get; set; }
        public string StaffCode { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string UserName { get; set; }
        public string RoleName { get; set; }
        public string BranchName { get; set; }
        public string Email { get; set; }
        public Boolean IsActive { get; set; }
        public float Rate { get; set; }       
        public int Total { get; set; }

        #region constructor
        public StaffDTO(int _StaffId, string _staffcode,string _FirstName, string _LastName, string _UserName,string _roleName,string _branchName,string _Email,bool _isActive,float _rate,  int _Total)
        {
            this.StaffId = _StaffId;
            StaffCode = _staffcode;
            this.FirstName = _FirstName;
            this.LastName = _LastName;
            UserName = _UserName;
            Email = _Email;
            Rate = _rate;
            RoleName = _roleName;
            BranchName = _branchName;
            IsActive = _isActive;
            this.Total = _Total;
        }

        public StaffDTO()
        {
        }
        #endregion constructor
    } 
}
